import request from '@/utils/request'
export function list(data) {
  return request({
    url: '/priceimport/list',
    method: 'post',
    data
  })
}
export function save(data) {
  return request({
    url: '/priceimport/save',
    method: 'post',
    data
  })
}
export function update(data) {
  return request({
    url: '/priceimport/update',
    method: 'post',
    data
  })
}
export function del(id) {
  return request({
    url: '/org/department/delete/' + id,
    method: 'get'
  })
}

export function exports(data) {
  return request({
    url: '/priceimport/export',
    method: 'post',
    data,
    responseType: 'blob'
  })
}
export function importTemplate() {
  return request({
    url: '/priceimport/importTemplate',
    method: 'post',
    responseType: 'blob'
  })
}
export function detail(id) {
  return request({
    url: '/priceimport/detail/' + id,
    method: 'get'
  })
}
export function batchDelete(data) {
  return request({
    url: '/priceimport/delete',
    method: 'post',
    data
  })
}
export function selectCustomerClassification(data) {
  return request({
    url: '/priceimport/selectCustomerClassification',
    method: 'post',
    data
  })
}
